-
-
Notifications
You must be signed in to change notification settings - Fork 676
Add Docker Images Management Feature #863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add Docker Images Management Feature #863
Conversation
This commit adds a comprehensive Docker images management interface to Dockge, allowing users to: - View all Docker images with details (repository, tag, ID, size, created date) - Pull images from Docker registries - Build images from Dockerfile content - Delete individual images - Prune all unused images - View Docker disk usage statistics (images, containers, volumes, build cache) - Search/filter images ## Backend Changes - Added 6 new socket event handlers in `docker-socket-handler.ts`: - `getDockerImageList`: List all images - `deleteDockerImage`: Remove an image by ID - `getDockerDiskUsage`: Get disk usage stats - `pullDockerImage`: Pull image from registry - `buildDockerImage`: Build from Dockerfile - `pruneDockerImages`: Remove unused images - All methods include proper error handling with real Docker error messages - Full JSDoc documentation for all methods ## Frontend Changes - New page: `Images.vue` with StackList-inspired design - Integrated search functionality - Progress indicators for pull/build operations - Dark theme support - Responsive layout ## Features - Real-time error messages from Docker (not generic errors) - Proper handling of images in use by containers - Progress bar for long operations (pull/build) - Warning dialogs for destructive operations - Consistent UI/UX with existing Dockge interface ## Translation - Added 23 new translation keys in `en.json` only - No other languages modified (as per contribution guidelines) All changes follow CONTRIBUTING.md guidelines: - 4-space indentation ✓ - camelCase for JS/TS ✓ - kebab-case for CSS ✓ - JSDoc documentation ✓ - No new dependencies ✓ - Consistent UI styling ✓ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
|
Did you even check if this still runs and there are no errors since you used Claude |
|
@authrequest |
|
This is looking great. Would it be possible to add management across agents when using 1.4.0's multiple agents support? Maybe in a tabbed UI or something. |
|
Will this be merged into main for release? this is the one feature that keeps me using portainer alongside dockge as i prefer a GUI to view images and prune orphaned images. |
|
Hi, I'm using @cmcooper1980's docker image "image-management". The list under "Docker Images" shows images to be pruned which are currently in use, and there's no older image. Is that intentional? What info shall I provide to analyse this issue? |
https://github.com/louislam/dockge/blob/master/CONTRIBUTING.md
Tick the checkbox if you understand [x]:
Description
Adds a comprehensive Docker images management interface to Dockge. Users can now view, pull, build, delete, and prune Docker images directly from the web UI. The interface also displays Docker disk usage statistics and includes search/filter functionality.
This addresses multiple user requests for better image management capabilities.
Features:
Type of change
Checklist
Screenshots (if any)